package wf.dto;
// Generated 31/05/2011 09:49:48 AM by Hibernate Tools 3.2.1.GA

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.NamedNativeQueries;
import javax.persistence.NamedNativeQuery;
//import org.hibernate.annotations.NamedNativeQueries;
//import org.hibernate.annotations.NamedNativeQuery;

/**
 * PaginaDto generated by Rómulo Galindo Tanta
 */
@Entity
@NamedNativeQueries({
    @NamedNativeQuery(
            name = "frawor2.pfpagpar",
            query = "select * from frawor2.pfpagpar(:p_co_conten , :p_co_pagina , :p_co_pagbot);",
            resultClass = PagparDto.class)
})
public class PagparDto implements java.io.Serializable {

    @EmbeddedId
    @AttributeOverrides({
        @AttributeOverride(name = "co_pagina", column =
                @Column(name = "co_pagina", nullable = false)),
        @AttributeOverride(name = "co_pagbot", column =
                @Column(name = "co_pagbot", nullable = false)),
        @AttributeOverride(name = "co_botpar", column =
                @Column(name = "co_botpar", nullable = false)),
        @AttributeOverride(name = "co_conori", column =
                @Column(name = "co_conori", nullable = false))
    }
            )
    private PagparDtoID id;
    //private short co_pagreg;
    @Column(name = "co_condes")
    private int co_condes;
    @Column(name = "co_conpar")
    private short co_conpar;

    public PagparDto() {
    }

    public PagparDtoID getId() {
        return this.id;
    }

    public void setId(PagparDtoID id) {
        this.id = id;
    }

    public int getCo_condes() {
        return co_condes;
    }

    public void setCo_condes(int co_condes) {
        this.co_condes = co_condes;
    }

    public short getCo_conpar() {
        return co_conpar;
    }

    public void setCo_conpar(short co_conpar) {
        this.co_conpar = co_conpar;
    }
}
